Here we have a conflated Channel
. Such a channel has a one-element buffer, but
rather than suspending send()
calls if the buffer is full, conflation replaces
the contents of the buffer by subsequent send()
calls. As a result, since our
five send()
calls are likely to take less than two seconds, we only consume
the last value (5678
) rather than all five.
You can learn more about this in:
Tags: